package com.payment.entity.alast.stripe.autorenewal.setupintent.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author lm
 * @date 2021/1/18 17:43
 */
@Data
public class RequestStripeAutoPay implements Serializable {

    @ApiModelProperty(value = "接口名称。此字段不可传空字符串", example = "payPalPay", dataType = "String")
    private String tradeType;

    @ApiModelProperty(value = "访问时间戳。此字段不可传空字符串", example = "20181031256548", dataType = "String")
    private String tradeTime;

    @ApiModelProperty(value = "接口版本，本次接口值为：3.0。此字段不可传空字符串", example = "3.0", dataType = "String")
    private String version;

    @ApiModelProperty(value = "渠道编码。此字段不可传空字符串", example = "P000818", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "H5传给Stripe的唯一支付id，P开头的，对应description", example = "P0002702020110214193780630", dataType = "String")
    private String payId;

    @ApiModelProperty(value = "支付金额", example = "19.99", dataType = "String")
    private String payAmount;

    @ApiModelProperty(value = "订单金额单位，是usd就是usd，是cny就是cny", example = "usd", dataType = "String")
    private String payCurrency;

    @ApiModelProperty(value = "付款邮箱", example = "", dataType = "String")
    private String email;

    @ApiModelProperty(value = "请求签名。此字段不可传空字符串", example = "b2a9e697bdff66049803d62ffeffccaf", dataType = "String")
    private String sign;
}
